package ch.zbw.pra.sysventory.domain.util;

import java.sql.Timestamp;
import java.util.Date;

public class TimeStampGenerator {

	public TimeStampGenerator() {
	}

	public Timestamp getCurrentTimeStamp() {
		Date today = new java.util.Date();
		return new java.sql.Timestamp(today.getTime());
	}

	public static Timestamp getTimestampForDate(Date date) {
		return new java.sql.Timestamp(date.getTime());
	}
}
